package cn.bass.marketing.common.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CommonPageResp<T> {

    @ApiModelProperty("页数")
    private Long index;

    @ApiModelProperty("分页大小")
    private Long size;

    @ApiModelProperty("总数")
    private Long total;

    @ApiModelProperty("分页数据")
    private List<T> rows;
}
